﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Xml;
using System.Windows.Forms;
using MicroLib;

namespace MicroBlogPost
{
    public partial class frmMain : Form
    {
        MicroLib.MicroBlogSina sina = new MicroLib.MicroBlogSina();

        public frmMain()
        {
            InitializeComponent();
        }


        private void frmMain_Load(object sender, EventArgs e)
        {
            Util.InitConfig();
            sina.Login(Util.user, Util.password, Util.cookie);
            
        }

        private void button3_Click(object sender, EventArgs e)
        {
            sina.At2People(txtTarget.Text, txtMessage.Text);
        }
    }
}
